import { Component } from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';

/**
 * Generated class for the ProductDetailsPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

// @IonicPage()
@Component({
  selector: 'page-product-details',
  templateUrl: 'product-details.html',
})
export class ProductDetailsPage {
  itemData:any;
  constructor(
    public navCtrl: NavController,
    public navParams: NavParams
  ) {
    this.itemData = this.navParams.get('item');
  }

  ionViewDidLoad() {
    console.log(this.itemData);
    
  }

}
